|
CmdMessenger
3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
|
A command received from CmdMessenger. More...
Public Member Functions | |
| ReceivedCommand () | |
| Default constructor. | |
| ReceivedCommand (string[] rawArguments) | |
| Constructor. | |
| bool | Next () |
| Fetches the next argument. | |
| bool | Available () |
| returns if a next command is available | |
| Int16 | ReadInt16Arg () |
| Reads the current argument as short value. | |
| UInt16 | ReadUInt16Arg () |
| Reads the current argument as unsigned short value. | |
| bool | ReadBoolArg () |
| Reads the current argument as boolean value. | |
| Int32 | ReadInt32Arg () |
| Reads the current argument as int value. | |
| UInt32 | ReadUInt32Arg () |
| Reads the current argument as unsigned int value. | |
| Single | ReadFloatArg () |
| Reads the current argument as a float value. | |
| Single | ReadDoubleArg () |
| Reads the current argument as a double value. | |
| String | ReadStringArg () |
| Reads the current argument as a string value. | |
| Single | ReadBinFloatArg () |
| Reads the current binary argument as a float value. | |
| Double | ReadBinDoubleArg () |
| Reads the current binary argument as a double value. | |
| Int16 | ReadBinInt16Arg () |
| Reads the current binary argument as a short value. | |
| UInt16 | ReadBinUInt16Arg () |
| Reads the current binary argument as a unsigned short value. | |
| Int32 | ReadBinInt32Arg () |
| Reads the current binary argument as a int value. | |
| UInt32 | ReadBinUInt32Arg () |
| Reads the current binary argument as a unsigned int value. | |
| String | ReadBinStringArg () |
| Reads the current binary argument as a string value. | |
| bool | ReadBinBoolArg () |
| Reads the current binary argument as a boolean value. | |
Properties | |
| string | rawString [get, set] |
| Gets or sets the command input. | |
A command received from CmdMessenger.
Default constructor.
| CommandMessenger.ReceivedCommand.ReceivedCommand | ( | string[] | rawArguments | ) |
Constructor.
| rawArguments | All command arguments, first one is command ID |
returns if a next command is available
Fetches the next argument.
Reads the current binary argument as a boolean value.
Reads the current binary argument as a double value.
Reads the current binary argument as a float value.
Reads the current binary argument as a short value.
Reads the current binary argument as a int value.
Reads the current binary argument as a string value.
Reads the current binary argument as a unsigned short value.
Reads the current binary argument as a unsigned int value.
Reads the current argument as boolean value.
Reads the current argument as a double value.
Reads the current argument as a float value.
Reads the current argument as short value.
Reads the current argument as int value.
Reads the current argument as a string value.
Reads the current argument as unsigned short value.
Reads the current argument as unsigned int value.
string CommandMessenger.ReceivedCommand.rawString [get, set] |
Gets or sets the command input.
The raw string.
1.7.6.1